package com.wx.springboot.step6.enums;

import lombok.Getter;

public class AdminEnums {

    /**
     * 用户状态
     */
    @Getter
    public static enum StatusEnum {
        STATUS_NO(0, "禁用"),
        STATUS_YES(1, "正常"),
        ;
        private int code;
        private String message;
        private StatusEnum(int code, String message) {
            this.code = code;
            this.message = message;
        }
    }
}
